<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ page import="com.point.business.database.model.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<title>Error page</title>
<jsp:include page="loadResources.jsp" />
</head>
<body id="page1">

	<div class="bg">
		<div class="main">
			<header> <jsp:include page="header.jsp" /> </header>
			<section id="content">
			<div class="padding">
				<div class="box-bg margin-bot">
					<div class="wrapper">
						<h2>Настана грешка</h2>
						<h2>
							<%
								boolean permissionIssue = "permissionIssue".equals(request
										.getParameter("errorMessage"));
								if (permissionIssue) {
									out.print("Немате доделено привилегии за пребарување, обратете се до администраторот");
								} else {
									if("userNotFound".equals(request.getParameter("errorMessage"))){
										out.print("Корисникот не постои");
									}else{
										if("incorrectPassword".equals(request.getParameter("errorMessage"))){
											out.print("Погрешна лозинка");
										}else{
											if("passwordNotEmpty".equals(request.getParameter("errorMessage"))){
												out.print("Внесете лозинка");
											}else{
												if("doNotHavePrivelegesLogin".equals(request.getParameter("errorMessage"))){
													out.print("Немате привилегии за пристап. Најавете се повторно.");
												}else{
													out.print(request.getParameter("errorMessage"));
												}
											}
										}
									}
								}
							%>
						</h2>
					</div>
				</div>
			</div>
			</section>
			<footer> <jsp:include page="footer.jsp" /> </footer>
		</div>
	</div>
</body>
</html>